package com.ruoyi.blog.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户文章点赞对象 t_user_like_blog
 * 
 * @author yang
 * @date 2021-11-15
 */
public class TUserLikeBlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long likeId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** blogid */
    @Excel(name = "blogid")
    private Long blogId;

    public void setLikeId(Long likeId) 
    {
        this.likeId = likeId;
    }

    public Long getLikeId() 
    {
        return likeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBlogId(Long blogId) 
    {
        this.blogId = blogId;
    }

    public Long getBlogId() 
    {
        return blogId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("likeId", getLikeId())
            .append("userId", getUserId())
            .append("blogId", getBlogId())
            .toString();
    }
}
